package com.yang.framework.disruptor;

import com.lmax.disruptor.EventFactory;
import lombok.Data;

/**
 * EventFactory实例化Event消息对象
 *
 * @author 杨 强
 * @package com.yang.framework.disruptor.event
 * @createTime 2023-09-10 14:43
 */
@Data
public class PayNoticeEventFactory implements EventFactory<PayNoticeEvent> {

    @Override
    public PayNoticeEvent newInstance() {
        return new PayNoticeEvent();
    }
}
